package com.yonyou.cyxdms.basedata.service.entity.sap;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 价格信息-CMSVHCL003-PO
 *
 * @author caozx
 * @date 2020/12/18
 */
@Data
@TableName(value = "ti_fuel_price_info")
public class CMSVHCL003PO {

    /** 主键 **/
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 有效从 **/
    @TableId(value = "start_date")
    private Date startDate;
    /** 有效到 **/
    @TableId(value = "end_date")
    private Date endDate;
    /** 条件记录号 **/
    @TableId(value = "condition_record_no")
    private String conditionRecordNo;
    /** 条件表 **/
    @TableId(value = "condition_desc")
    private String conditionDesc;
    /** 条件类型 **/
    @TableId(value = "condition_type")
    private String conditionType;
    /** 条件序列号 **/
    @TableId(value = "condition_seq_no")
    private String conditionSeqNo;
    /** 促销 **/
    @TableId(value = "promotion")
    private String promotion;
    /** 销售交易 **/
    @TableId(value = "sales_transact")
    private String salesTransact;
    /** 销售组织  **/
    @TableId(value = "sales_org")
    private String salesOrg;
    /** 分销渠道 **/
    @TableId(value = "distribute_channel")
    private String distributeChannel;
    /** 客户 **/
    @TableId(value = "dealer_code")
    private String dealerCode;
    /** 物料 **/
    @TableId(value = "material_code")
    private String materialCode;
    /** 订单类型 **/
    @TableId(value = "order_type")
    private String orderType;
    /** 价格清单 **/
    @TableId(value = "price_list")
    private String priceList;
    /** 客户条件组 **/
    @TableId(value = "dealer_group")
    private String dealerGroup;
    /** 物料定价组 **/
    @TableId(value = "material_group")
    private String materialGroup;
    /** 变式 **/
    @TableId(value = "variant")
    private String variant;
    /** 金额 **/
    @TableId(value = "amount")
    private String amount;
    /** 比率单位 **/
    @TableId(value = "ratio_unit")
    private String ratioUnit;
    /** 条件单位 **/
    @TableId(value = "condition_unit")
    private String conditionUnit;
    /** 等级数量 **/
    @TableId(value = "grade_quantity")
    private String gradeQuantity;
    /** 价格或百分数 **/
    @TableId(value = "value")
    private String value;
    /** 价格单位 **/
    @TableId(value = "price_unit")
    private String priceUnit;
    /** 币别 **/
    @TableId(value = "currency")
    private String currency;

    /** 是否删除(0:未删除1:删除) **/
    @TableField(value = "is_deleted")
    @TableLogic
    private Integer isDeleted;

    /** RECORD_VERSION **/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Version
    private Integer recordVersion;

    /** CREATED_AT **/
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    /** UPDATED_AT **/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
